package com.zp.bean.common;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.zp.domain.Type;

/**
 * define Type java bean for web services return which include Type object or
 * collection of Type
 * 
 * @author chenlijun08@gmail.com
 * 
 * @version 1.0
 * 
 * @date 2014/2/14
 * 
 */
@XmlRootElement
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ResultTypeVo extends ResultCommonVo {
	private static final long serialVersionUID = 1L;
	private Type type;
	private List<Type> listVo;

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public List<Type> getListVo() {
		return listVo;
	}

	public void setListVo(List<Type> listVo) {
		this.listVo = listVo;
	}

}
